package com.thb.pay.core.logs.domain;

import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;
import java.util.Date;

@Builder
@AllArgsConstructor
@NoArgsConstructor
@Data
public class OperationLogEntity implements Serializable {
    public final static Integer SYSTEM_ADMIN = 1;    // 运营系统
    public final static Integer SYSTEM_MCH = 2;    // 商户系统
    public final static Integer SYSTEM_AGENT = 3;    // 代理商系统
    private Long id;

    //用户ID
    private Long userId;

    //用户名
    private String userName;

    //用户IP
    private String ip;

    //系统 1：运营平台, 2：商户平台, 3:代理商
    private Integer type;

    //方法名
    private String methodName;

    //方法描述
    private String methodRemark;

    //操作请求参数
    private String optReqParam;

    //操作响应结果
    private String optResInfo;

    private Date createTime;

    private Date updateTime;

}